import { post } from '../http'

// 页面数据统计
export const getCountApi = (data) => post({ url: '/etcOrder/findStatistics', data })

// 列表数据
export const getEtcListApi = (data) => post({ url: '/etcOrder/pageList', data })

// 导出
export const exportExcel = (data) => post({ url: '/etcOrder/exportExcel', data })

// 结束订单
export const closeOrderApi = (data) => post({ url: '/etcOrder/closeOrder', data })

// 修改关联订单
export const editOrderApi = (data) => post({ url: '/etcOrder/relateOrder', data })

// ETC订单详情
export const getDetailApi = (data) => post({ url: '/etcOrder/detail', data })

// 续租记录
export const getReletListApi = (data) => post({ url: '/etcOrder/reletList', data })

// 通行记录
export const getPassListApi = (data) => post({ url: '/etcOrder/etcTrafficList', data })

// 费用信息
export const getFeeListApi = (data) => post({ url: '/etcOrder/orderFeeList', data })

// 获取关联订单信息
export const getRefCodeApi = (data) => post({ url: '/etcOrder/selectRelateRefCode', data })

// 换/还车校验
export const checkExistEtcOrderApi = (data) => post({ url: '/etcOrder/checkExistEtcOrder', data })
